<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset= utf-8" />
<script type="text/javascript" src="__PUBLIC__/js/jquery-1.6.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/easyvalidator/js/easy_validator.pack.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/easyvalidator/js/jquery.bgiframe.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/ui.tab.js"></script>
<link href="__PUBLIC__/css/welcome.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/js/easyvalidator/css/validate.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">

</script>
<style type="text/css">
#planTab { width:100%; margin:0px; padding:0px;}
#planTab th{font: bold 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;color: #4f6b72;border:1px solid #C1DAD7;letter-spacing: 2px;text-transform: uppercase;text-align: center;padding: 6px 6px 6px 12px;background: #CAE8EA  no-repeat;}
#planTab td {border: 1px solid #C1DAD7;background: #fff;font-size:11px;padding: 6px 6px 6px 12px;color: #4f6b72;}

#addTab{ width:100%; position:relative; top:200px; padding:0px;}
#addTab th{font: bold 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;color: #4f6b72;border:1px solid #C1DAD7;letter-spacing: 2px;text-transform: uppercase;text-align: center;padding: 6px 6px 6px 12px;background: #CAE8EA  no-repeat;}
#addTab td { text-align:center;border: 1px solid #C1DAD7;background: #fff;font-size:11px;padding: 5px;color: #4f6b72;}
#addTab th{font: bold 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;color: #4f6b72;border:1px solid #C1DAD7;letter-spacing: 2px;text-transform: uppercase;text-align: center;padding: 6px 6px 6px 12px;background: #CAE8EA  no-repeat;}

#button{ position:relative; top:205px; margin-left:435px; width:87px; height:24px;}

INPUT {BORDER-RIGHT: #dcdcdc 1px solid; BORDER-TOP: #dcdcdc 1px solid; PADDING-LEFT: 2px; FONT-SIZE: 12px; BORDER-LEFT: #dcdcdc 1px solid; LINE-HEIGHT: 20px; BORDER-BOTTOM: #dcdcdc 1px solid; FONT-FAMILY: "宋体"; HEIGHT: 18px;}
</style>
<title>添加员工</title>
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="17" valign="top" background="__PUBLIC__/images/welcome/mail_leftbg.gif"><img src="__PUBLIC__/images/welcome/left-top-right.gif" width="17" height="29" /></td>
    <td valign="top" background="__PUBLIC__/images/welcome/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
        <tr>
          <td height="31"><div class="titlebt">员工管理</div></td>
        </tr>
      </table></td>
    <td width="16" valign="top" background="__PUBLIC__/images/welcome/mail_rightbg.gif"><img src="__PUBLIC__/images/welcome/nav-right-bg.gif" width="16" height="29" /></td>
  </tr>
 <tr>
    <td valign="middle" background="__PUBLIC__/images/welcome/mail_leftbg.gif">&nbsp;</td>
    <td valign="top" bgcolor="#F7F8F9" > 
    <div id="welcomeContent"  style="height:565px;" >
    	<table id="planTab">
          <tr>
            <th scope="col" width="12%">计划名称</th>
            <th width="45%" scope="col">计划描述</th>
            <th width="9%" scope="col">开始时间</th>
            <th width="9%" scope="col">完成时间</th>
            <th width="10%" scope="col">完成情况</th>
            <th width="15%" scope="col">主管人员签名</th>
          </tr>
          <?php if(is_array($planList)) foreach( $planList as $list ){
          	$list['starTime'] = date('Y-m-d',$list['starTime']);
			$list['endTime'] = date('Y-m-d',$list['endTime']);
          ?>
          <tr>
            <td>{$list['planName']}</td>
            <td>{$list['depict']}</td>
            <td>{$list['starTime']}</td>
            <td>{$list['endTime']}</td>
            <td>{$list['isOk']}</td>
            <td>{$list['bossSign']}</td>
          </tr>
          <?php }?>
          <tr style="text-align:center;">
            {$page}
          </tr>
        </table>
		<form name="addPlan" action="__APP__/personal/addPlan" method="post">
		<table id="addTab">
          <tr>
            <th scope="col" width="12%">计划名2称</th>
            <th width="45%" scope="col">计划描述</th>
            <th width="9%" scope="col">开始时间</th>
            <th width="9%" scope="col">完成时间</th>
          </tr>
          <tr>
            <td><input type="text" name="planName" reg="^.+$" tip="不能为空" /></td>
            <td><textarea name="depict" cols="60" rows="3" reg="^.+$" tip="不能为空" ></textarea></td>
            <td><input type="text" name="starTime" reg="^((((1[6-9]|[2-9]\d)\d{2})-(0?[13578]|1[02])-(0?[1-9]|[12]\d|3[01]))|(((1[6-9]|[2-9]\d)\d{2})-(0?[13456789]|1[012])-(0?[1-9]|[12]\d|30))|(((1[6-9]|[2-9]\d)\d{2})-0?2-(0?[1-9]|1\d|2[0-8]))|(((1[6-9]|[2-9]\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00))-0?2-29-))$" tip="日期必填且格式为:2011-2-6" /></td>
            <td><input type="text" name="endTime" reg="^((((1[6-9]|[2-9]\d)\d{2})-(0?[13578]|1[02])-(0?[1-9]|[12]\d|3[01]))|(((1[6-9]|[2-9]\d)\d{2})-(0?[13456789]|1[012])-(0?[1-9]|[12]\d|30))|(((1[6-9]|[2-9]\d)\d{2})-0?2-(0?[1-9]|1\d|2[0-8]))|(((1[6-9]|[2-9]\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00))-0?2-29-))$" tip="日期必填且格式为:2011-2-6" /></td>
          </tr>
        </table>
        <input id="button" type="image" src="__PUBLIC__/images/button_PUB.png" />
   		</form>
    </div>
    </td>
    <td background="__PUBLIC__/images/welcome/mail_rightbg.gif">&nbsp;</td>
  </tr>
  
  <tr>
    <td valign="bottom" background="__PUBLIC__/images/welcome/mail_leftbg.gif"><img src="__PUBLIC__/images/welcome/buttom_left2.gif" width="17" height="17" /></td>
    <td background="__PUBLIC__/images/welcome/buttom_bgs.gif"><img src="__PUBLIC__/images/welcome/buttom_bgs.gif" width="17" height="17"></td>
    <td valign="bottom" background="__PUBLIC__/images/welcome/mail_rightbg.gif"><img src="__PUBLIC__/images/welcome/buttom_right2.gif" width="16" height="17" /></td>
  </tr>
</table>
</body>
</html>
